package edu.qd.learn.newchapter.chapter02.exam02;

import java.util.Objects;

/**
 * 词条
 *  pojo (最简单的java类)
 *
 *   构造方法
 *   属性
 *   setter getter
 *   eauals
 *   hashcode
 *   tostring
 * @author 布衣
 */
public class WordReport {

    //constructor


    public WordReport(String cnName, String enName) {
        this.cnName = cnName;
        this.enName = enName;
    }

    // 中文名
    private String cnName;

    // 英文名
    private String enName;


    //setter getter
    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    //eqauls hashcode

}
